package com.lhd.entity.enums;

/**
 * @Author: liuhd
 * @Date: 2025/3/17 22:01
 * @Description:
 */
public enum RoleEnum {

    STUDENT(0,"学生"),
    TEACHER(1,"老师");

    private final Integer code;
    private final String description;

    RoleEnum(Integer code, String description) {
        this.code = code;
        this.description = description;
    }

    public Integer getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
